const phoneReg = /^[1][3,4,5,7,8,9][0-9]{9}$/;
export const validatePhone = (_rule: unknown, value: string) => {
  if (!phoneReg.test(value)) {
    return Promise.reject("手机号码格式错误");
  } else {
    return Promise.resolve();
  }
};
